package com.tangtanwei.hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

@Data
@ToString
@Builder
@TableName("user_room_number")
@NoArgsConstructor
@AllArgsConstructor
public class UserRoomNumber {

    @TableId(type = IdType.ASSIGN_ID)
    private String userId;

    private String roomNumberId;

    private LocalDateTime createTime;

    private String name;

    private String phone;

    private String idcard;

    private String birthday;

}
